define({ "api": [
  {
    "type": "get",
    "url": "api/address",
    "title": "获取地址列表",
    "description": "<p>获取地址列表</p>",
    "group": "address",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "userid",
            "description": "<p>用户id</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n      code: '200',\n      message: '获取地址列表',\n      data\n    })",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/address"
      }
    ],
    "version": "1.0.0",
    "filename": "api/address.js",
    "groupTitle": "address",
    "name": "GetApiAddress"
  },
  {
    "type": "get",
    "url": "api/address/delete",
    "title": "删除数据",
    "description": "<p>删除数据</p>",
    "group": "address",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "addressid",
            "description": "<p>地址id</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n code: '200',\n message: '数据删除成功'\n}",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/address/delete"
      }
    ],
    "version": "1.0.0",
    "filename": "api/address.js",
    "groupTitle": "address",
    "name": "GetApiAddressDelete"
  },
  {
    "type": "post",
    "url": "api/address/add",
    "title": "添加地址",
    "description": "<p>添加地址</p>",
    "group": "address",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "userid",
            "description": "<p>用户id</p>"
          },
          {
            "group": "Parameter",
            "type": "number",
            "optional": false,
            "field": "isDefault",
            "description": "<p>是不是默认地址</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "name",
            "description": "<p>收件人姓名</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "tel",
            "description": "<p>收件人手机</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "province",
            "description": "<p>收件人省份</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "city",
            "description": "<p>收件人城市</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "county",
            "description": "<p>收件人区县</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "addressDetail",
            "description": "<p>收件人详细地址</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n      code: '200',\n      message: '插入地址成功'\n    });",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/address/add"
      }
    ],
    "version": "1.0.0",
    "filename": "api/address.js",
    "groupTitle": "address",
    "name": "PostApiAddressAdd"
  },
  {
    "type": "get",
    "url": "api/banner",
    "title": "获取轮播图的数据",
    "description": "<p>获取轮播图的数据</p>",
    "name": "banner",
    "group": "banner",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n code: '200',\n message: '获取轮播图的数据',\n data: []\n}",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/banner"
      }
    ],
    "version": "1.0.0",
    "filename": "api/banner.js",
    "groupTitle": "banner"
  },
  {
    "type": "get",
    "url": "api/cart",
    "title": "获取购物车数据",
    "description": "<p>获取购物车数据</p>",
    "group": "cart",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "userid",
            "description": "<p>用户ID</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n  code: '20202',\n  message: '你想看谁的数据呢'\n})\n{\n code: '200',\n message: '获取购物车数据',\n len: 1, // 根据这个字段判断有没有数据\n data: data\n}",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/cart"
      }
    ],
    "version": "1.0.0",
    "filename": "api/cart.js",
    "groupTitle": "cart",
    "name": "GetApiCart"
  },
  {
    "type": "get",
    "url": "api/cart/delete",
    "title": "删除数据",
    "description": "<p>删除数据</p>",
    "group": "cart",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "cartid",
            "description": "<p>购物车id</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n code: '200',\n message: '数据删除成功'\n}",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/cart/delete"
      }
    ],
    "version": "1.0.0",
    "filename": "api/cart.js",
    "groupTitle": "cart",
    "name": "GetApiCartDelete"
  },
  {
    "type": "get",
    "url": "api/cart/update",
    "title": "加减数量",
    "description": "<p>加减数量</p>",
    "group": "cart",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "cartid",
            "description": "<p>购物车id</p>"
          },
          {
            "group": "Parameter",
            "type": "number",
            "optional": false,
            "field": "num",
            "description": "<p>产品数量</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n code: '200',\n message: '更新购物车数量成功'\n}",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/cart/update"
      }
    ],
    "version": "1.0.0",
    "filename": "api/cart.js",
    "groupTitle": "cart",
    "name": "GetApiCartUpdate"
  },
  {
    "type": "post",
    "url": "api/cart/add",
    "title": "加入购物车",
    "description": "<p>加入购物车</p>",
    "group": "cart",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "userid",
            "description": "<p>用户ID</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "productid",
            "description": "<p>产品id</p>"
          },
          {
            "group": "Parameter",
            "type": "number",
            "optional": false,
            "field": "num",
            "description": "<p>产品数量 （默认为1）</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n  code: '10101',\n  message: '购物车数据填写不完整'\n})\n{\n code: '200',\n message: '加入购物车成功'\n}",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/cart/add"
      }
    ],
    "version": "1.0.0",
    "filename": "api/cart.js",
    "groupTitle": "cart",
    "name": "PostApiCartAdd"
  },
  {
    "type": "get",
    "url": "api/category/flower/boy",
    "title": "鲜花分类送男性列表数据",
    "description": "<p>分类列表</p>",
    "group": "category",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n      code: '200',\n      message: '分类列表',\n      len: 0,\n      data\n    })",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/category/flower/boy"
      }
    ],
    "version": "1.0.0",
    "filename": "api/category.js",
    "groupTitle": "category",
    "name": "GetApiCategoryFlowerBoy"
  },
  {
    "type": "get",
    "url": "api/category/flower/color",
    "title": "鲜花颜色分类列表数据",
    "description": "<p>分类列表</p>",
    "group": "category",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "color",
            "description": "<p>分类材料名称</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n      code: '200',\n      message: '分类列表',\n      len: 0,\n      data\n    })",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/category/flower/color"
      }
    ],
    "version": "1.0.0",
    "filename": "api/category.js",
    "groupTitle": "category",
    "name": "GetApiCategoryFlowerColor"
  },
  {
    "type": "get",
    "url": "api/category/flower/elders",
    "title": "鲜花分类送长辈列表数据",
    "description": "<p>分类列表</p>",
    "group": "category",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n      code: '200',\n      message: '分类列表',\n      len: 0,\n      data\n    })",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/category/flower/elders"
      }
    ],
    "version": "1.0.0",
    "filename": "api/category.js",
    "groupTitle": "category",
    "name": "GetApiCategoryFlowerElders"
  },
  {
    "type": "get",
    "url": "api/category/flower/friend",
    "title": "鲜花分类送朋友列表数据",
    "description": "<p>分类列表</p>",
    "group": "category",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n      code: '200',\n      message: '分类列表',\n      len: 0,\n      data\n    })",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/category/flower/friend"
      }
    ],
    "version": "1.0.0",
    "filename": "api/category.js",
    "groupTitle": "category",
    "name": "GetApiCategoryFlowerFriend"
  },
  {
    "type": "get",
    "url": "api/category/flower/girlfriend",
    "title": "鲜花分类送女友列表数据",
    "description": "<p>分类列表</p>",
    "group": "category",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n      code: '200',\n      message: '分类列表',\n      len: 0,\n      data\n    })",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/category/flower/girlfriend"
      }
    ],
    "version": "1.0.0",
    "filename": "api/category.js",
    "groupTitle": "category",
    "name": "GetApiCategoryFlowerGirlfriend"
  },
  {
    "type": "get",
    "url": "api/category/flower/material",
    "title": "鲜花材料分类列表数据",
    "description": "<p>分类列表</p>",
    "group": "category",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "material",
            "description": "<p>分类材料名称</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n      code: '200',\n      message: '分类列表',\n      len: 0,\n      data\n    })",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/category/flower/material"
      }
    ],
    "version": "1.0.0",
    "filename": "api/category.js",
    "groupTitle": "category",
    "name": "GetApiCategoryFlowerMaterial"
  },
  {
    "type": "get",
    "url": "api/category/getCategory",
    "title": "获取分类",
    "description": "<p>获取分类</p>",
    "group": "category",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n      code: '200',\n      message: '获取分类',\n      data\n    });",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/category/getCategory"
      }
    ],
    "version": "1.0.0",
    "filename": "api/category.js",
    "groupTitle": "category",
    "name": "GetApiCategoryGetcategory"
  },
  {
    "type": "get",
    "url": "api/comment",
    "title": "获取评论的数据",
    "description": "<p>获取评论的数据</p>",
    "group": "comment",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "productid",
            "description": "<p>商品id</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Sucess-Response:",
          "content": "{\n code: '200',\n message: '获取评论的数据',\n data: []\n}",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/comment"
      }
    ],
    "version": "1.0.0",
    "filename": "api/comment.js",
    "groupTitle": "comment",
    "name": "GetApiComment"
  },
  {
    "type": "get",
    "url": "api/order",
    "title": "确认订单的订单消息",
    "description": "<p>确认订单的订单消息</p>",
    "group": "order",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "orderid",
            "description": "<p>订单id</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n      code: '200',\n      message: '确认订单的订单消息',\n      data\n    })",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/order"
      }
    ],
    "version": "1.0.0",
    "filename": "api/order.js",
    "groupTitle": "order",
    "name": "GetApiOrder"
  },
  {
    "type": "get",
    "url": "api/order/updateAddress",
    "title": "修改订单收货人信息",
    "description": "<p>修改订单收货人信息</p>",
    "group": "order",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "orderid",
            "description": "<p>订单id</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "addressid",
            "description": "<p>地址id</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n    code: '200',\n    message: '修改地址成功'\n  })",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/order/updateAddress"
      }
    ],
    "version": "1.0.0",
    "filename": "api/order.js",
    "groupTitle": "order",
    "name": "GetApiOrderUpdateaddress"
  },
  {
    "type": "post",
    "url": "api/order/add",
    "title": "生成订单",
    "description": "<p>生成订单</p>",
    "group": "order",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "userid",
            "description": "<p>用户id</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "orderlist",
            "description": "<p>[{}, {}]</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n code: '200',\n message: '生成订单，去确认订单',\norderid\n}",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/order/add"
      }
    ],
    "version": "1.0.0",
    "filename": "api/order.js",
    "groupTitle": "order",
    "name": "PostApiOrderAdd"
  },
  {
    "type": "get",
    "url": "api/product",
    "title": "获取列表的数据",
    "description": "<p>获取列表的数据，可以传递不同的参数以获取数据</p>",
    "group": "product",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "number",
            "optional": false,
            "field": "limit",
            "description": "<p>每页显示个数（默认值10）</p>"
          },
          {
            "group": "Parameter",
            "type": "number",
            "optional": false,
            "field": "count",
            "description": "<p>页码（默认值0）</p>"
          },
          {
            "group": "Parameter",
            "type": "number",
            "optional": false,
            "field": "type",
            "description": "<p>类型</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n code: '200',\n message: '获取产品列表数据',\n data: []\n}",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/product"
      }
    ],
    "version": "1.0.0",
    "filename": "api/product.js",
    "groupTitle": "product",
    "name": "GetApiProduct"
  },
  {
    "type": "get",
    "url": "api/product/detail",
    "title": "获取产品的详情数据",
    "description": "<p>获取产品的详情数据</p>",
    "group": "product",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "productid",
            "description": "<p>产品id</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n  code: '200',\n  message: '获取详情的数据',\n  data: data[0]\n}\n{\n  code: '10404', // 10404 状态码自己编辑，随便设定\n  message: '没有查询到该产品相关数据'\n}",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/product/detail"
      }
    ],
    "version": "1.0.0",
    "filename": "api/product.js",
    "groupTitle": "product",
    "name": "GetApiProductDetail"
  },
  {
    "type": "get",
    "url": "api/reason",
    "title": "获取选择本网站原因",
    "description": "<p>获取选择本网站原因</p>",
    "group": "reson",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n code: '200',\n message: '获取选择本网站原因',\n data: []\n}",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/reason"
      }
    ],
    "version": "1.0.0",
    "filename": "api/reason.js",
    "groupTitle": "reson",
    "name": "GetApiReason"
  },
  {
    "type": "get",
    "url": "api/specy",
    "title": "获取分类图片及名称",
    "description": "<p>获取分类图片及名称</p>",
    "group": "specy",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n code: '200',\n message: '获取分类图片及名称',\n data: []\n}",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/specy"
      }
    ],
    "version": "1.0.0",
    "filename": "api/specy.js",
    "groupTitle": "specy",
    "name": "GetApiSpecy"
  },
  {
    "type": "get",
    "url": "api/user/sendCode",
    "title": "发送短信验证码",
    "description": "<p>发送短信验证码</p>",
    "group": "user",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "tel",
            "description": "<p>发送短信验证码</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n        code: '200',\n        message: '发送短信验证码',\n        code\n      })",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/user/sendCode"
      }
    ],
    "version": "1.0.0",
    "filename": "api/user.js",
    "groupTitle": "user",
    "name": "GetApiUserSendcode"
  },
  {
    "type": "post",
    "url": "api/user/emaillogin",
    "title": "邮箱登陆功能",
    "description": "<p>登陆功能</p>",
    "group": "user",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "email",
            "description": "<p>邮箱</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "password",
            "description": "<p>密码</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n code: '10400',\n message: '请完善表单信息'\n}\n{\n code: '10888',\n message: '登陆成功'\n}\n{\n code: '10808',\n message: '该用户未注册'\n}",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/user/emaillogin"
      }
    ],
    "version": "1.0.0",
    "filename": "api/user.js",
    "groupTitle": "user",
    "name": "PostApiUserEmaillogin"
  },
  {
    "type": "post",
    "url": "api/user/emailregister",
    "title": "邮箱注册功能",
    "description": "<p>注册功能</p>",
    "group": "user",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "email",
            "description": "<p>邮箱</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "password",
            "description": "<p>密码</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n code: '10400',\n message: '请完善表单信息'\n}\n{\n code: '10666',\n message: '注册成功'\n}\n{\n code: '10606',\n message: '该用户已注册'\n}",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/user/emailregister"
      }
    ],
    "version": "1.0.0",
    "filename": "api/user.js",
    "groupTitle": "user",
    "name": "PostApiUserEmailregister"
  },
  {
    "type": "post",
    "url": "api/user/tellogin",
    "title": "电话密码登录功能",
    "description": "<p>登陆功能</p>",
    "group": "user",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "tel",
            "description": "<p>手机号</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "pwd",
            "description": "<p>密码</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n code: '10400',\n message: '请完善表单信息'\n}\n{\n code: '10888',\n message: '登陆成功'\n}\n{\n code: '10808',\n message: '该用户未注册'\n}",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/user/tellogin"
      }
    ],
    "version": "1.0.0",
    "filename": "api/user.js",
    "groupTitle": "user",
    "name": "PostApiUserTellogin"
  },
  {
    "type": "post",
    "url": "api/user/telregisterlogin",
    "title": "电话注册并登录功能",
    "description": "<p>注册功能</p>",
    "group": "user",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "tel",
            "description": "<p>电话</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "ckma",
            "description": "<p>验证码</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n code: '10400',\n message: '请完善表单信息'\n}\n{\n code: '10666',\n message: '注册成功'\n}\n{\n code: '10606',\n message: '该用户已注册'\n}",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/user/telregisterlogin"
      }
    ],
    "version": "1.0.0",
    "filename": "api/user.js",
    "groupTitle": "user",
    "name": "PostApiUserTelregisterlogin"
  },
  {
    "type": "post",
    "url": "api/user/updateAvatar",
    "title": "更新头像",
    "description": "<p>更新头像</p>",
    "group": "user",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "userid",
            "description": "<p>用户id</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "token",
            "description": "<p>验证登陆令牌</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "avatar",
            "description": "<p>昵称</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "res.send({\n      code: '200',\n      message: '更新头像',\n      data\n    })\nres.send({\n    code: '10119',\n    message: 'token验证失败'\n  })",
          "type": "json"
        }
      ]
    },
    "sampleRequest": [
      {
        "url": "/api/user/updateAvatar"
      }
    ],
    "version": "1.0.0",
    "filename": "api/user.js",
    "groupTitle": "user",
    "name": "PostApiUserUpdateavatar"
  }
] });
